﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NineMine.DataModel
{
    public class IssueStatus
    {
        [Key]
        public long Id { get; set; }

        [MaxLength(30)]
        [Required]
        public string Name { get; set; }

        public bool IsClosed { get; set; }

        public bool IsDefault { get; set; }

        public long Position { get; set; }

        public long DefaultDoneRatio { get; set; }

    }
}
/*
(1, 'New', 0, 1, 1, NULL),
(2, 'In Progress', 0, 0, 2, NULL),
(3, 'Resolved', 0, 0, 3, NULL),
(4, 'Feedback', 0, 0, 4, NULL),
(5, 'Closed', 1, 0, 5, NULL),
(6, 'Rejected', 1, 0, 6, NULL);
*/